home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / SciAn / src / ScianNetDaemon.h < prev    next >
C/C++ Source or Header  |  1994-08-01  |  1KB  |  40 lines

  1. /* ScianNetDaemon.h John R. Murray 3-5-92
  2.  *
  3.  * Version 0.01 added icon number to object register and info messages
  4.  * Version 0.0 the version before any other version
  5.  */
  6.  
  7. #define ND_NET_DAEMON_VERSION    "ScianNetDaemon_Version_0.01"
  8.  
  9. #define ND_PASSWORD        "RUN?" /*don't get it? spell out the letters..*/
  10. #define ND_REG_PROCESS        "NEWP" /* add a process */
  11. #define ND_UNREG_PROCESS    "DELP" /* delete a process */
  12. #define ND_INQ_PROCESS        "INQP" /* ask about a particular process */
  13. #define ND_LIST_PROCESSES    "LSTP" /* list all currently registered procs */
  14. #define ND_UPDATE_PROCESSES    "UPDP" /* keep advising about proc changes */
  15. #define ND_NOT_UPDATE_PROCESSES    "NUPP" /* stop advising about proc changes */
  16. #define ND_REG_OBJECT        "NEWO"
  17. #define ND_UNREG_OBJECT        "DELO"
  18. #define ND_INQ_OBJECT        "INQO"
  19. #define ND_LIST_OBJECTS        "LSTO"
  20. #define ND_UPDATE_OBJECTS    "UPDO"
  21. #define ND_NOT_UPDATE_OBJECTS    "NUPO"
  22. #define ND_ERROR        "NAK!"
  23. #define ND_CLOSE        "DONE" /* done with inquiries, close socket */
  24. #define ND_EXIT            "QUIT" /* CAUSES DEMON TO EXIT */
  25. #define ND_RENDEZVOUS        "REND" /* rendezvous with process # */
  26.  
  27. #define ND_INFO_VERSION        "VERS"
  28. #define ND_INFO_LIVE_PROCESS    "LIVP"
  29. #define ND_INFO_DEAD_PROCESS    "DEDP"
  30. #define ND_INFO_LIVE_OBJECT    "LIVO"
  31. #define ND_INFO_DEAD_OBJECT    "DEDO"
  32. #define ND_INFO_RENDEZVOUS    "RPRT" /* rendezvous ready on port # */
  33.  
  34. #define ND_CMD_STR_LENGTH    4
  35.  
  36. #ifndef ND_BASE_SOCKET_NUMBER
  37. #define ND_BASE_SOCKET_NUMBER    4242
  38. #endif
  39. #define ND_SOCKET_BLOCK_LENGTH    100
  40.